package com.gufe.service.user.mp.quiz;

import com.gufe.dto.quiz.QuestionDTO;
import com.gufe.dto.quiz.SubmitPointsDTO;
import com.gufe.vo.quiz.ResultVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface QuizService {
    List<QuestionDTO> getQuestionsByCompetitionId(Long competitionId);

    @Transactional
    ResultVO submitPoints(SubmitPointsDTO submitPointsDTO); // 修改参数为 SubmitPointsDTO
}